<template>
  <axiom-error-page
    code="500"
    title="服务器内部错误"
    description="抱歉，服务器发生了一些意外错误，请稍后重试。"
    :show-back="false"
    show-retry
    @retry="reloadPage"
    @home="goHome"
  />
</template>

<script setup>
import { useRouter } from 'vue-router';

const router = useRouter();

const reloadPage = () => {
  window.location.reload();
};

const goHome = () => {
  router.push('/');
};
</script> 